<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            box-sizing: border-box;
        }
        div.article{
            width: 200px;
            height: 300px;
            background-color: black;
            margin: 0 auto;/*居中显示*/
        }
        div.top{
            width: 200px;
            height: 200px;
            padding: 20px;
        }
        div.text{
            color: cornsilk;
            text-align: center;
        }
        div#outer{
            height: 100%;
            border: 5px solid darkgray;
            border-radius: 50%;
            padding: 20px;
        }
        div#inner{
            height: 100%;
            border: 10px solid white;
            border-radius: 50%;
        }
    </style>
</head>
<body>
    <div class="article">
        <div class="top">
            <div id="outer">
                <div id="inner"></div>
            </div>
        </div>
        <div class="text">HI!</div>
    </div>
</body>
</html>